package cn.sinata.wanglin.model;

/**
 *
 * Created by liaoxiang on 16/12/10.
 */

public class NewFriend {
    private String id;//申请记录ID
    private String applyID;//申请人ID
    private String applyType;//申请类型（F 朋友 G 群组）
    private String headUrl;
    private String nickName;
    private String groupName;
    private String content;
    private int status = -1;//验证状态（（0：接受 1：验证通过 3：等待验证 4：拒绝））

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    //验证状态（（0：接受 1：验证通过 3：等待验证 4：拒绝））
    public String getActionStr(){
        String action = "添加";
        if (status == 0) {
            action = "接受";
        } else if (status == 1) {
            action = "已添加";
        } else if (status == 3) {
            action = "等待验证";
        } else if (status == 4) {
            action = "已拒绝";
        }
        return action;
    }

    public String getApplyID() {
        return applyID;
    }

    public void setApplyID(String applyID) {
        this.applyID = applyID;
    }

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}
